package com.xwj.redpacket.domain;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 红包明细金额
 * @author xwj
 * @date 2020/4/27
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
public class RedDetail implements Serializable {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 红包记录id
     */
    private Long redRecordId;
    /**
     * 红包随机金额
     */
    private BigDecimal amount;
    /**
     * 是否有效
     */
    private boolean isActive;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

}
